package com.jnevision.userdept.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 用户部门
 * </p>
 *
 * @author gavin
 * @since 2019-07-13
 */
@TableName("sys_user_dept")
public class UserDept extends Model<UserDept> {
    private static final long serialVersionUID = -897946675948882353L;

    @TableField("user_id")
    private String userId;

    @TableField("dept_id")
    private Integer deptId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "UserDept{" + "userId=" + userId + ", deptId=" + deptId + "}";
    }
}